package com.lwq.imserver.model;

import com.lwq.imserver.model.system.SysUser;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2022/2/1 17:36
 */
@Data
@Document(collection = "friends_apply")
public class FriendsApply implements Serializable {

    private static final long serialVersionUID = 1L;
    @Id
    private String id;

    private SysUser from;

    private SysUser to;

    private String applyContent;

    private long timestamp;

    private Boolean isRead;

    private Boolean isAgree;

}
